package com.think.teaching.mapper;

import com.think.teaching.model.CourseType;

import org.apache.ibatis.annotations.Select;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;

/**
 * <p>
 * 课程类型 Mapper 接口
 * </p>
 *
 * @author think
 * @since 2020-08-12
 */
public interface CourseTypeMapper extends BaseMapper<CourseType> {
	
	@Select("Select id,type_name FROM course_type WHERE id=#{type}")
	CourseType getInfoById(Integer type);
}
